package TripleList;

import TripleTable.ThreeTuple;

public interface ITripleList<T> {
    boolean isEmpty();
    int length();
    int getRow(int i);
    int getCol(int i);
    int getWeight(int i);
    ThreeTuple get(int i);
    void setRow(int i,int x);
    void setCol(int i,int x);
    void setWeight(int i,int x);
    void set(int i,ThreeTuple x);
    void insert(int i, ThreeTuple x);
    void lengthen(ThreeTuple x);
    void remove(int i);
    void removeAll();
    int search(T key);
    ThreeTuple[] getElements();
}

